﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.ProgressBar;

namespace Test
{
    public partial class Form3 : Form
    {
        int index = 0;
        public Form3(int index)
        {
            InitializeComponent();
            this.index = index;
        }

        private void Form3_Load(object sender, EventArgs e)
        {
            List<ReqLog> reqLogs = Form1.reqDic[index];
            for (int i = 0; i < reqLogs.Count; i++)
            {
                dataGridView1.Rows.Add(i, reqLogs[i].time+"ms", reqLogs[i].msg);
            }
        }
    }
}
